import Home from '../pages/Home/Home'; //首页
import routerList from '../components/routerList/routerList'; //个人中心 
import routerListChildren from '../components/routerList/children/List';// 个人中心列表
import routerListChildrenT from '../components/routerList/children/ListT';// 个人中心列表
import Login from '../pages/Login/Login';// 登录
import List from '../components/List/List';// 长列表
import ListHook from '../components/List/List(Hook)';// 长列表
import ReactView from '../components/ReactView/ReactView';// 父子组件传值
import Context from '../components/Context/Context';// 上下文
import CssModules from '../components/CssModules/CssModules';//CssModules
import Skeleton from '../components/Skeleton/Skeleton';//Skeleton
const routes = [{
    path:'/login',
    name:'Login',
    component:Login,
    exact:true
},{
    path:'/',
    name:'Home',
    component:Home,
    exact:true
},{
    path:'/list',
    name:'List',
    component:List,
    exact:true
},{
    path:'/listHook',
    name:'listHook',
    component:ListHook,
    exact:true
},{
    path:'/reactView',
    name:'ReactView',
    component:ReactView,
    exact:true
},{
    path:'/context',
    name:'Context',
    component:Context,
    exact:true
},{
    path:'/cssmodules',
    name:'CssModules',
    component:CssModules,
    exact:true
},{
    path:'/skeleton',
    name:'Skeleton',
    component:Skeleton,
    exact:true
},{
    path:'/routerList',
    name:'routerList',
    component:routerList,
    children:[{
        path:'/routerList',
        name:'routerListChildren',
        component:routerListChildren,
        exact:true
    },{
        path:'/routerList/routerListChildrenT',
        name:'routerListChildrenT',
        component:routerListChildrenT,
        exact:true
    }]
}]
export default routes;